package com.eshop.modules.template.service.dto;

import java.sql.Timestamp;
import java.io.Serializable;

public class YxShippingTemplatesDto implements Serializable
{
    private Integer id;
    private String name;
    private Integer type;
    private String regionInfo;
    private Integer appoint;
    private String appointInfo;
    private Timestamp createTime;
    private Timestamp updateTime;
    private Integer isDel;
    private Integer sort;
    
    public Integer getId() {
        return this.id;
    }
    
    public String getName() {
        return this.name;
    }
    
    public Integer getType() {
        return this.type;
    }
    
    public String getRegionInfo() {
        return this.regionInfo;
    }
    
    public Integer getAppoint() {
        return this.appoint;
    }
    
    public String getAppointInfo() {
        return this.appointInfo;
    }
    
    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public Timestamp getUpdateTime() {
        return this.updateTime;
    }
    
    public Integer getIsDel() {
        return this.isDel;
    }
    
    public Integer getSort() {
        return this.sort;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public void setType(final Integer type) {
        this.type = type;
    }
    
    public void setRegionInfo(final String regionInfo) {
        this.regionInfo = regionInfo;
    }
    
    public void setAppoint(final Integer appoint) {
        this.appoint = appoint;
    }
    
    public void setAppointInfo(final String appointInfo) {
        this.appointInfo = appointInfo;
    }
    
    public void setCreateTime(final Timestamp createTime) {
        this.createTime = createTime;
    }
    
    public void setUpdateTime(final Timestamp updateTime) {
        this.updateTime = updateTime;
    }
    
    public void setIsDel(final Integer isDel) {
        this.isDel = isDel;
    }
    
    public void setSort(final Integer sort) {
        this.sort = sort;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof YxShippingTemplatesDto)) {
            return false;
        }
        final YxShippingTemplatesDto other = (YxShippingTemplatesDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$type = this.getType();
        final Object other$type = other.getType();
        Label_0102: {
            if (this$type == null) {
                if (other$type == null) {
                    break Label_0102;
                }
            }
            else if (this$type.equals(other$type)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$appoint = this.getAppoint();
        final Object other$appoint = other.getAppoint();
        Label_0139: {
            if (this$appoint == null) {
                if (other$appoint == null) {
                    break Label_0139;
                }
            }
            else if (this$appoint.equals(other$appoint)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$isDel = this.getIsDel();
        final Object other$isDel = other.getIsDel();
        Label_0176: {
            if (this$isDel == null) {
                if (other$isDel == null) {
                    break Label_0176;
                }
            }
            else if (this$isDel.equals(other$isDel)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$sort = this.getSort();
        final Object other$sort = other.getSort();
        Label_0213: {
            if (this$sort == null) {
                if (other$sort == null) {
                    break Label_0213;
                }
            }
            else if (this$sort.equals(other$sort)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$name = this.getName();
        final Object other$name = other.getName();
        Label_0250: {
            if (this$name == null) {
                if (other$name == null) {
                    break Label_0250;
                }
            }
            else if (this$name.equals(other$name)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$regionInfo = this.getRegionInfo();
        final Object other$regionInfo = other.getRegionInfo();
        Label_0287: {
            if (this$regionInfo == null) {
                if (other$regionInfo == null) {
                    break Label_0287;
                }
            }
            else if (this$regionInfo.equals(other$regionInfo)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$appointInfo = this.getAppointInfo();
        final Object other$appointInfo = other.getAppointInfo();
        Label_0324: {
            if (this$appointInfo == null) {
                if (other$appointInfo == null) {
                    break Label_0324;
                }
            }
            else if (this$appointInfo.equals(other$appointInfo)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0361: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0361;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$updateTime = this.getUpdateTime();
        final Object other$updateTime = other.getUpdateTime();
        if (this$updateTime == null) {
            if (other$updateTime == null) {
                return true;
            }
        }
        else if (this$updateTime.equals(other$updateTime)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof YxShippingTemplatesDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $type = this.getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        final Object $appoint = this.getAppoint();
        result = result * 59 + (($appoint == null) ? 43 : $appoint.hashCode());
        final Object $isDel = this.getIsDel();
        result = result * 59 + (($isDel == null) ? 43 : $isDel.hashCode());
        final Object $sort = this.getSort();
        result = result * 59 + (($sort == null) ? 43 : $sort.hashCode());
        final Object $name = this.getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        final Object $regionInfo = this.getRegionInfo();
        result = result * 59 + (($regionInfo == null) ? 43 : $regionInfo.hashCode());
        final Object $appointInfo = this.getAppointInfo();
        result = result * 59 + (($appointInfo == null) ? 43 : $appointInfo.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $updateTime = this.getUpdateTime();
        result = result * 59 + (($updateTime == null) ? 43 : $updateTime.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "YxShippingTemplatesDto(id=" + this.getId() + ", name=" + this.getName() + ", type=" + this.getType() + ", regionInfo=" + this.getRegionInfo() + ", appoint=" + this.getAppoint() + ", appointInfo=" + this.getAppointInfo() + ", createTime=" + this.getCreateTime() + ", updateTime=" + this.getUpdateTime() + ", isDel=" + this.getIsDel() + ", sort=" + this.getSort() + ")";
    }
}
